jQuery(function ($) {
  var starttime = new Date("2018/11/20");
  setInterval(function () {
    var nowtime = new Date();
    var time = starttime - nowtime;
    //   var day = parseInt(time / 1000 / 60 / 60 / 24);
    var hour = parseInt(time / 1000 / 60 / 60 % 24);
    var minute = parseInt(time / 1000 / 60 % 60);
    var seconds = parseInt(time / 1000 % 60);
    $('.hours').html(hour);
    $('.min').html(minute);
    $('.secon').html(seconds);
    if( $('.hours').html() < 10 ){
      $('.hours').html("0" + hour)
    }
    if( $('.min').html() < 10 ){
      $('.min').html("0" + minute)
    }
    if( $('.secon').html() < 10 ){
      $('.secon').html("0" + seconds)
    }

  }, 1000);
  


});